import seaborn as sns
from sklearn.datasets import load_iris
import pandas as pd
from matplotlib import pyplot as plt

iris=pd.DataFrame(load_iris()['data'])
names=['setosa','versicolor','virginica']
species=pd.Series([ names[i] for i in load_iris()['target'] ])
iris.columns=pd.Index(['sepal_length','sepal_width','petal_length','petal_width'])
iris.insert(4,'species',species)
sns.set()

sns.catplot(x='sepal_length',y='species',kind='strip',data=iris)
'''sns.stripplot()'''
plt.show()

sns.catplot(x='sepal_length',y='species',kind='swarm',data=iris)
'''sns.swarmplot()'''
plt.show()

sns.catplot(x='sepal_length',y='species',kind='box',data=iris)
'''sns.boxplot()'''
plt.show()

sns.catplot(x='sepal_length',y='species',kind='violin',data=iris)
'''sns.violinplot()'''
plt.show()

sns.catplot(x='species',y='sepal_length',kind='boxen',data=iris)
'''sns.boxenplot()'''
plt.show()

sns.catplot(x='sepal_length',y='species',kind='point',data=iris)
'''sns.pointplot()'''
plt.show()

sns.catplot(x='sepal_length',y='species',kind='bar',data=iris)
'''sns.barplot()'''
plt.show()

sns.catplot(x='species',kind='count',data=iris)
'''sns.countplot()'''
plt.show()
